
<div class="pad-10">

	<div class="navigate">
		<h1>商品分类添加</h1>
		<a class="button fr" href="/index.php/Admin/Cate/">商品分类列表</a>
  	</div>
  	
  	
<div class="col-tab">
<ul class="tabBut cu-li">
	<li id="tab_setting_1" class="on"
		onclick="SwapTab('setting','on','',2,1);">商品分类添加</li>
</ul>
<div id="div_setting_1" class="contentList pad-10">
<table width="100%" cellpadding="2" cellspacing="1" class="table_form">
	<tr>
		<th width="100">分类名称:</th>
		<td><input type="text" name="name" id="name" class="input-text" value=""></td>
	</tr>
	<tr>
		<th>上级分类：</th>
		<td>
			<select name="parent" id="parent" style="width:150px;">
			<option value="0" selected="selected">--顶级分类--</option>
			<volist name="root_cates" id="c">
				<option value="{$c.id}">{$c.name}</option>
			</volist>
		</td>
	</tr>
	<tr>
		<th width="100">排序 :</th>
		<td><input type="text" name="ord" id="ord" class="input-text"
			value="" size="4"
			onkeyup="this.value=this.value.replace(/\D/g,'')"
			onafterpaste="this.value=this.value.replace(/\D/g,'')"></td>
	</tr>
	<tr>
		<th width="100">状态:</th>
		<td>
		
			<input type="radio" id="disabled_0" name="disabled" value="0" checked="checked" /> 
			<label for="disabled_0">启用</label> 
			
			<input type="radio" id="disabled_1" name="disabled" value="1" /> 
			<label for="disabled_1">禁用</label></td>
	</tr>

</table>
</div>

<div class="bk15"></div>
<div class="btn"><input type="button" class="button" value="添加" id="btnAdd" /></div>
</div>
</div>

<script type="text/javascript" src="/Js/adm/cate/add.js"></script>